Switched from double to float