better assertion