Even simpler program that has what I think is the same problem!