adding some asserts