implemented changes made to request and search