Fix loops and show all 4 types in example