remove the example code in gemFunction
useful code