Describe a time when you had to refactor legacy code.

Behavioral