rev2 SQP