change method to classmeth