switch from static instance method to cls method