shouldn't the class ref be stored in a static var so that it doesn't get looked up every time?