added refPeriod to id