Removing assertion statement