updated endpoint with '?'