added export flag