add set method to subclass