new glue_startStopInputRec function (and implementation)