changed search to GET