adding missing assert