moved everything around to make sense, and it compiles! shipit!