added missing import of ldply from plyr for droplets fxn