added cfif validation