Use a for look for repetative code.