sub menu generation first step