pull parsing helpers into module