@RoySegall change this return to be ``return array('duplicate' ...``