changed to use it assert