new res and config