Added getPeriod function