retrieve from ws