added myQSUB so that waiting will work