add three data structure