making menu dynamic