resolve classes