lines and paths API