partial implementation of right click menu
conflict resolved