Thank you Alf! Here I thought it was something wrong with my class call, but it turns out I just needed to pack f and then use root.update() in the loop :-) I really appreciate your help!