SQP rev2