changed asserts