Update m_tg

tried to add tapping functionality and an untap step.