removing extra check for floats