before add priority