need to convert input text to floats first