Flexible training contracts