move period to config