implement gridValues