Trying out pattern scanning.