about method of class