how chains are made