side effect in assert