added q table