Corrected input order