added assertion to first arg