added getPeriod method
merged