added functions from actions doc