Removed floats from the code as they were not required.