working on menustate