tell me the parts of speech in this sentence "james and i talked about what to do" james and i are the subject (noun and proper noun) talked is the verb etc.. thanks

James -- proper noun

and -- conjunction
I -- pronoun
talked -- verb
about -- preposition
what -- pronoun
to do -- verb (infinitive)