added get by ref