wrote help for gen_consts