search function implemented (simple) fix issue #4