getting arrays of numbers