removed deprecated Assert