changed panels and search and modify functions