merging tasks