changed the model, added summary feature to the grid