7.exit and starvation is solved