commented the flash code