add methods to IPeriod