extracting features (Xiaolong)