src must have property i, because we iterate by properties of src