added simple variable handling