It's totally fine, and actually it's better this way. That's what the rules call "synonyms" (I don't know if there's a better word for that).