revert to original ddply method, and made more robust with additional timelog fields