convert to float instead of int
Rearrange methods alphabetically