cleaning up framework