switch from float to double