simple match method
example