The Master Routine