switching from list to one large data frame