swap in Input instead of string
renaming trigger and in to match input