Code

Udpated locking for deparmtments