changed memberset datastructure