change getXXX to genXXX
code