Endpoint detection in the real world