set up class