first judge
end and restart