set result if exists