move _parse*() helper functions above filters