Employers offer training, flexible schedules, mentoring to attract, retain staff