Merge all operators to single function