add snippet which can show a result of searching method