Adding the framework code