better solution for iprb