roles and responsibilities of trainee