arrays work, comparisons better work