Cooperative routines in a competitive environment