modify class method