Build chain return a chain