corrected isVisible property to visible