making progress with period as parameter and visualisation