Changed some things to floats.