Used better assert