changed ad to nend