implementing class variable bindings