jpath function generator