adding total and style