added assertion