action dispatching using a conventional Map