work on structure classes