converted input fields to numbers