add measure to the api