changed ints to floats in quad