[API] by reference