added coords of the endpoint