loops and arrays