prepare for release.