First fully working tested version.