staring: return results by reference arguments