adding two versions of code file one before and one after refactoring