converted total into integer