Added general next revision checker