changed everything to class hooker, no errors now