starting on merge method for controller