Copy of Routine builder