finished GiTD version of Theifer O'Greedy