working menu links and better syntax