some problems with merging