Added an assert statement