addRoutine(f func())