testing arrays and console