working on arrays population