cleaning up code file