made new array ready to make function