added custom flash.