added period and direction