fixed constructor

made the constructor a method before, silly me