cleaning up code and adding resume