added quick and dirty flash