simple whitespaceAnalyer implematation