prepare for TSQR
TSQR working