making the assertion generic