initial pass on data processing and plots