Array Function still a bit confusing.