add solve gkC func