adding sourceType to queue tasksk