added num extract
Merge remote-tracking branch 'origin/extract'