clean up everything for handing in