add priority flags