helpers to match now point-free