refactor gs