implement refresher. Also factorize code. Need tests
month not global