the stack logic seems to be correct but one of the arguments for evaluate - r - is null. Why so?