Adding asserts