registering on the class level