added create_match method