Using not instead of if.