add safe and priority