Rework the Side module (type safety)
Use an explicit lambda in for-statement