Extracting data from reply, setting right types and plot