auto data format recognition