worked on data frame merging