adapted asserts