Added the accidentally removed return in the main routine