Added the functionality of search table