cleaning up routinesApi