now a attribute can be directly obtained from an infered class #12