added periods api