input data and in script, now need to oraganize data for plot/