added more assertion messages.