Okay thanks, can you just explain your _res trick ? Why does calling the get method with res doesn't work and says "cast(short[])res is not an lvalue" ?