remove obsolete timing code
switch loops to plyr