changing pubnub ds methods to positional args