added utility to reinitialize a complete chain