made class but things still aren't working as expected