adding "chain.next"