Added explicit variable to define starvation condition.