add priority adapter