autogenerate constants (#1)