Finished second version.