added isShowing flag