moving the endpoint ping argument up a level