Added period number

We'll use this later when we redo the front end.