arithmetic parsing with var assignment working