Fixed errors on merging method, still not working as it should