flash from scratch