added getter and setter for the m_controller