cleans up output lib - namespaced private functions