staff data func