I've used the "join a group of people to do [something]" structure in the following sentence:
I was invited to join a team of three other engineers to develop a knowledge-based system for neuromuscular disorders.
Is the sentence grammatically correct? What I mean is that I was invited to join a team of three other engineers and our task was to develop a knowledge-based system for neuromuscular disorders.