changed to double so it doesn't get rounded