Adding Array function.