added search example
fixes #1