finished with the basics of the GridMetrics class