added ex api documentation