pub endpoint hopefully correct syntax now