updated qr_method and created header