added InteractionMode helper functions