working menu parsing