change to createAction emitAction