classification script now gives some acceptable output, summary still needed
now with nicer summary for classification