Use isvisible method