refactor with peg.locale