renaming visiblity param for consistency