Add error checking if department doesn't exist