adding edit, flash