Correct hard-coded dimension code
Satisfy all four rules