filter study periods kind of implemented