improved config interface