cleaning up the framework