Changed the url and also searches by matching dept