Routine adapter