Is this typo?
I think this line shold be `((and (> 299 status) (eq temp nil))`.