refactored the combo menu and the details actions into a single structure rather than spread out among several methods