extract next version