plans crud, department crud working