class set up