Period functionality done.