add context menu and search method