#arbitrary endpoint trap