basestats extraction