invoke endpoint selector after setting it all up