cleanup new_logical