Smells funny when we are using nested loops to create a simple grid view.