preparing for release, cleaning up