got rid of unneccessary code and made it more compact