added menu fundtionality