doc and flash