arrays and if