better version of period_plots