added more assertion messages