Added departments into API