refactor sendtopresenteraction for readability.