add functionality to period