data preparaation example