time diff. cleaning. remove unneeded code. ren few vars.