ignore case on type of stats detection
added output formatting