passes all of Gilbert's tests