changed requirement extraction code