added verification of a variant and view quantity in pp