add support for 'ignore' option