got isVisible() to work