analyzer
summary calculation
added test