Remove duplication in 'go'