data and analysis setup