change double to float