testing and adjusting endpoints