Completed first version.