mergeOrCreate and functional UI