showing template on screen