updated routines controller