forgot to set the result variable