changed object gen to use enums for generating recipes