refactor gol_spec into gol