added visibility decoder