static methods to classmethods