added showArrayText()