added a warning about missing pop.weights.  you should check it please