added support for assert