only bash arrays bashisms left, should be dash and other shell compatable now