activity_generate