relocated the whitespace class