compress showInfo to array