getting data, analysis working

except sorting still