just need to process the actions for managed mode

just need to process the actions for managed mode, then lots of unit
tests