re-added task priorities + homogeneous joins with parameter passing