update of guess loop BUT not working