Merge tomato controller