Changed input types to number, commented out //parseInt