partial new res structure implementation