nested mapping for actions