before add staff function