reducing technical debt and cleaning up code