Add functionality for inverted match