adding and removing framework