refactoring, start of context menu