introducing nb space check