dealing with more complicated ipr files