Vieira reveals tactical thinking behind late substitution