added offspec Q calculation