Exception changed to Assert