additional work on arrays