--Started work on gs2 functions