use data indexes rather than arrays for periodizations and definitions