working small code

took out extra lines not needed