a modifed version of fri component