part 2: evaluating simple expressions