improve flash design