Implemented nested vars evaluation