isn't there any more sofisticated assert to do this?