Added method to merge dataframes