use dependencies for menu build up