replacing visibility