Added a string variable and updated the result