Working 1st commit. All useful functions entered