added second approach to population diff