basic vqmod functioning