Added chain and merge