added handlesInput UI flag