FrameWork init,exception main algorithms