working on popup menu