Added assert statement