added visibility function for use with search

if we implement search we’ll need to address searches