Lab 10: Fixed Windows version of model code. Doesn't like TextConnection