 hasPrimaryMentor = (kid) -> kid.mentor_id?
 hasSecondaryMentor = (kid) -> kid.secondary_mentor_id?
 
+getMentorIds = (mentorsObject) ->
+  (parseInt id, 10 for id in _.keys(mentorsObject))
+
 createTimeCellClasses = ({primaryClass, day, lastTime, time, nextTime, schedules}) ->
   classNames primaryClass, 
     'time-available': availableInSchedule schedules, day, time

    return filteredMentors
  getSelectedMentors: (filteredMentors) ->
    limit _.pick filteredMentors, @state.mentorsToDisplay
  onChangeSelectedMentorsToDisplay: (mentorIds) ->
    @setState mentorsToDisplay: mentorIds
  onChangeFilter: (key, value) ->
    filters = @state.filters
    filters[key] = value
    @setState filters: filters
    # select all mentors, if filter changes
    @selectAll()

          <div className="col-xs-10">
            <MentorsForDisplayingFilter 
              mentors=filteredMentors
              selection=selectedMentorIds
              onChange=@onChangeSelectedMentorsToDisplay
              visitedMentors=@state.visitedMentors
            />
          </div>
        </div>
