changed int inputs to floats