- Changed checking to assert