defun substitute pat subs