created array to pass in