working on menu functionallity