- added ‘invert’ option