split each array element in different lines