make deliver_invitation public