move various standalone functions into utility classes