follow suit with the rax refactor and split out the slugify code