main added for QF, QU