todo, remove pattern from vquantity