make some static methods as class methods