issue 77, endpoint types now support anchors
issue 77, endpoint types now support anchors
code cleanup