is this the suggested way to do class variables? I'd dig around to see how this is done in other files since it's not going to be threadsafe