added visibility to api