Should we define these arguments to be type float to avoid the need for this (and future potential bugs)?