added visibility option