hooked up a class