long chain tutorial