Add arrays sample code