refactoring CSS bill summary and its related