chanaged read values to floats