made it more effiecent