added flashes template