some class management