path refactor, gen_helpers