maybe using arrays?