created for testing the merging part