add visibility checks to client