Complete v1 Source for SGP