working on whitespace mode