added plyr pkg