range function is a bit more concise than the full array