scope of class method