added total terminal