changed default for setVisibility