some work on classes