do the assertion more efficiently