created result variable

created result variable