Personality type and learning environments: two case studies