improved config