changed method over to use the whitespace implementation