Switched from float to double