created a class trying to figure shit out