[API 0.502] pass by reference error in example 6.3