set up arrays