Worked on the optimal lineup feature