added manual q cast option