turned ints into floats to fix problem