updated asserts