testing visiblility