add isHide method