First commit of working code. tests GREEN