added reference to QS in fermat