Your for-loops are bad and you should feel bad