adding total capacity to the logs