use floats since we don't care about precision anyway