added forgotten flash_helper