cleaning up for distribution.