you onlu need to check once, set the pronoun in the first if and delete the second