add support for Trainee role and rate