more work on arrays