made hiding a visible function