unnecessary assertions removed.