adding and flashing