clean up class