added fact type to helper