added javadoc to Grid