removed send cancellation code and confirmation alert