added docs for internal usage