custom_generate
