partial work on  right-click menu