added search controller