added bonus and penalty for question category matching