add ifi to lib