updated assert messaging