added period trace prototype