extracted welcome and flash from layout