add periods to api