modify framework code