merging frontend