started implementing next player functionality