routine templates