replaced '!' with 'not'