The names ending in s will have their possessive form by adding ‘s or only apostrophe. James's dog is hungry. (with an ‘ + s) James’ dog is hungry. (only an apostrophe) Both forms are correct.