changes to make suitable for distribution.