can we put the pattern in a `defvar` ?