adding q