total＝0 fby total+x