define action to call