writing members in a table in memberIndex