progressing on arity, it just need some functions to be defined for path manipulation