can now set m_x and m_y in ctor