check keyword for gen