added show view and flash