Add "weight" to part (d) of solution.