retrieves available classes when selecting profile