merge tasks