Change setGroupMatch to public method