Added next mark and next leg