array formatting into a 1 liner with comment