Added a variable with an expression

I added a varaible with an expression and tested to make sure it worked.