modified menu implemetation <Praveen>