send to console to print array