1. move some method to be class method