add the m_pi for visual studio