refactored context menu so more options can be added later