classes worked out