Removed unnecessary string-to-number conversion.