hacked array handling not wanting to learn ArrayList today