end wit hperiod