chain manager refactoring
chain system help