Add gosquared code