a pointer map and flag