add assert feature