gotta find a way to discern current class when initializing instance