added some search stuff, routing works