adding assert.