initial pocket api call; buggy