removed unused asserts