extending the 'menu' feature to allow define sub-items