adding assert