operator menu is abstracted out so that no need to copy &paste for every operator page