add some asserts