added chaosc framework code