my pieces work now

moved mainloops around, that seemed to be the issue