use constants for actions.