changes based on refactor of input in MateUnity