quant and tweaks