Modified argument check, Added document