changed m_input to public