Merge some function