minor chagnes to sweep