add function visibility