adding stuff with classes-->doesnt quite work yet, trying to figure out global variable things