added ct to qr method