Removed the cast to double