Worked on search controller