working on subpopdata