add period number to output