Work on getting qr gen to work