pulling in endpoint