rewrite complete. 1.7 first public release.