final submit

removed a couple of variables i was not using, cleaned up code.