log array work by avni