added smooth path example