added makeChain function
Can build one level deep chains.