adding chain