adds touch and flag methods