Code style. pi is a class member variable