print info on array