passing settings implicitly