changed points to float instead of what the input was