improving the assert example