add class method