proper data type detection (preview)