adding marshal funcs for actions