extract poty map func