adding helper method to create matchers