arrays now work much better