use map to pretty print the extensions Array