autogenerate consts
adjustments