rename id list to type list
added grammar of memebers