working on architecture of the framework