a common class for action and multiaction