immplement search and list chapter function