class methods can refer to other class methods