Preliminary working code for sending QTCs