finish line logic