updated the assert. Can now leave a custom message or not.