added optional conf argument