get rid of associative arrays. Harder to code, old bash compatible