notes on how to string methods of array in one line