merging with session