When I have to fix legacy code and can’t refactor anything in it