function of traditional washing machine