Removed unecessary check for white space