did some experiments wrt json and a remote api