first build
initialized arrays