Debugging someone elses code and not exactly loving it