added .to_f method to incoming params; Thanks Ebs
cleaned up unneccessary comments