Added Array Function