preliminary setup of resizing array