Use for loops instead of repetitive definitions.