changes for creating and changing routines