Added listeners for total weight and total ranks