Changed assert statment