initial work on reflecting endpoints