add isMember method