we can put all this elements in an array and use a loop to get them all, thus creating more terse code