added search to routing/core snippet