add sampling & ignoreold option