changed TimePeriod to public
Searche added