create variable and set variable eval working for global scope