getTotal added