demo of translate_path method