Added resize_imp