new up1

intialize total to zero