final submit,removed debuging logs