Edit result variable