modified assert