added visibility test