Create new function to use action.