simplistic implemenation of ignoring whitespace in comparison