set up the class